// 引入调用接口文件
const { request } = require("../../http/request.js");

module.exports = {
    // 获取待办种类信息及其数量
    countWork: params => request("/home/countWork", "GET", params),

    // 添加待办信息
    addWork: params => request("/home/addWork", "POST", params),

    // 获取待办详细信息
    getWork: params => request("/home/getWork", "GET", params),

    // 工作收藏接口
    collectWork: params => request("/home/collectWork", "GET", params),

    // 删除工作
    delWork: params => request("/home/delWork", "GET", params),
};